/*
 * @Descripttion: 全局组件：rmc快捷键
 * @version: 
 * @Author: 侯勇
 * @Date: 2022-10-22 16:57:51
 * @LastEditors: 侯勇
 * @LastEditTime: 2022-10-22 18:43:38
 */

//第三方组件
import React, { memo } from 'react'
import { renderRoutes } from "react-router-config"

//功能性
import routes from './router';
//工具类

//导入组件
import HyAppHeader from '@/components/app-header';
import HyAppFooter from '@/components/app-footer';
import { HashRouter } from 'react-router-dom';


const App = memo(() => {
    return (
        <HashRouter>
            <HyAppHeader />
            {renderRoutes(routes)}
            <HyAppFooter />
        </HashRouter>
    )
})

export default App
